package com.liuxingwu.service;

import com.liuxingwu.mapper.UserDao;

/**
 * @author 扫地生_LiuXingWu
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;

    // 在业务层利用Set方法进行动态实现值的注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void getUser() {
        userDao.getUser();
    }
}
